<?php
namespace app\api\controller;
use think\Controller;
use think\Db;

header('content-type: applicatiion/json; charset=utf-8');
header("access-control-allow-origin:*");

class Index extends Controller{
	public function index(){
		$yazhou = DB::name('yazhou')->limit(30,25)->select();
		$content = json($yazhou);
		return $content;
	}
}